﻿using BCGM.MedicalWisdom.IServices.BASE;
using BCGM.MedicalWisdom.Model;
using BCGM.MedicalWisdom.Model.Models.Patients;
using BCGM.MedicalWisdom.Model.ViewModels.PatientsDTO;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;

namespace BCGM.MedicalWisdom.IServices
{
    /// <summary>
    /// IpatientServices
    /// </summary>	
    public interface IpatientServices : IBaseServices<patient>
    {
        Task<PageModel<PatientInfoDTO>> GetPatient(Expression<Func<PatientInfoDTO, bool>> whereExpression, int pageIndex, int pageSize, SugarParameter[] parameters);
        Task<PageModel<PatientDiagnoseInfoDTO>> GetPatientInfo(int pageIndex, int pageSize, int id);
        Task<patient> PatientLogging(string UserId, string UserPwd);
        Task<patient> PatientLogin(string UserId, string UserPwd);
    }
}